import { createApp } from 'vue'
import 'normalize.css'
import './assets/css/index.less'
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import App from './App.vue'
import router from './router'
import registerStore from './store'
import registerIcons from './global/register-icons' // 提取饿了么图标

const app = createApp(App)
app.use(registerIcons)
// 全局国际化适配
app.use(ElementPlus ,{
  locale: zhCn,
})
app.use(registerStore)
app.use(router)
app.mount('#app')
